<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Insert title here</title>

</head>
<body>

	<%-- 	<h2 class="contentTitle">

		<c:if test="${editType==1}">
			<s:text name="venderInfoNew.title" />
		</c:if>
		<c:if test="${editType==0}">
			<s:text name="venderInfoEdit.title" />

		</c:if>

	</h2> --%>
	<div class="pageContent">
		<form method="post" action="saveVenderInfo"
			class="pageForm required-validate"
			onsubmit="return validateCallback(this,ajaxCallBack)">
			<div class="pageFormContent nowrap" layoutH="50">
				<fieldset>
					<legend class="contentTitle">
						<c:if test="${editType==1}">
							<s:text name="venderInfoNew.title" />
						</c:if>
						<c:if test="${editType==0}">
							<s:text name="venderInfoEdit.title" />

						</c:if>
					</legend>
					<s:hidden name="editType"></s:hidden>
					<dl>
						<!-- <dt></dt> -->
						<dd>
							<c:if test="${editType==1}">
								<%-- <s:textfield key="venderInfo.venderId" name="model.venderId"
								cssClass="required" readonly="false"></s:textfield> --%>

								<%-- <s:hidden name="model.venderId"></s:hidden> --%>
							</c:if>
							<c:if test="${editType==0}">
								<%-- <s:textfield key="venderInfo.venderId" name="model.venderId"
								cssClass="required" readonly="true"></s:textfield> --%>
								<s:hidden name="model.venderId"></s:hidden>
							</c:if>
						</dd>
					</dl>
					<dl>
						<dd>

							<s:textfield key="venderInfo.venderName" name="model.venderName"
								cssClass="required"></s:textfield>
						</dd>
					</dl>
					<dl>
						<dd>

							<s:textfield key="venderInfo.productVersion"
								name="model.productVersion" cssClass="required"></s:textfield>
						</dd>
					</dl>
					<dl>
						<dd>
							<s:textarea key="venderInfo.copyRightInfo" cols="50" rows="5"
								name="model.copyRightInfo" cssClass="required"></s:textarea>

						</dd>
					</dl>
				</fieldset>

			</div>
			<div class="formBar">
				<ul>
					<li>
						<div class="buttonActive">
							<div class="buttonContent">
								<button type="submit">保存</button>
							</div>
						</div>
					</li>
					<li>
						<div class="button">
							<div class="buttonContent">
								<button type="button" onclick="navTab.reload();">取消</button>
							</div>
						</div>
					</li>
				</ul>
			</div>
		</form>
	</div>
</body>
</html>